package com.example.practice;

import java.util.List;

class Car2Users {

    /**
     * data : [{"speedmin":0,"who":"张三","carplate":"宝马","speed":100,"carno":"辽A10001","speedmax":1000,"amount":12522,"stop":false,"$max":10000,"$min":0},{"speedmin":0,"who":"李四","carplate":"中华","speed":100,"carno":"辽A10002","speedmax":1000,"amount":12400,"stop":false,"$max":10000,"$min":0},{"speedmin":0,"who":"王五","carplate":"奔驰","speed":100,"carno":"辽A10003","speedmax":1000,"amount":12389,"stop":false,"$max":10000,"$min":0},{"speedmin":0,"who":"赵六","carplate":"马自达","speed":100,"carno":"辽A10004","speedmax":1000,"amount":3394,"stop":false,"$max":10000,"$min":0},{"speedmin":0,"who":"上官六","carplate":"斯柯达","speed":100,"carno":"辽A10005","speedmax":1000,"amount":4660,"stop":false,"$max":10000,"$min":0}]
     * RESULT : S
     * ERRMSG : 成功
     */

    private String RESULT;
    private String ERRMSG;
    private List<DataBean> data;

    public String getRESULT() {
        return RESULT;
    }

    public void setRESULT(String RESULT) {
        this.RESULT = RESULT;
    }

    public String getERRMSG() {
        return ERRMSG;
    }

    public void setERRMSG(String ERRMSG) {
        this.ERRMSG = ERRMSG;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * speedmin : 0
         * who : 张三
         * carplate : 宝马
         * speed : 100
         * carno : 辽A10001
         * speedmax : 1000
         * amount : 12522.0
         * stop : false
         * $max : 10000
         * $min : 0
         */

        private int speedmin;
        private String who;
        private String carplate;
        private int speed;
        private String carno;
        private int speedmax;
        private double amount;
        private boolean stop;
        private int $max;
        private int $min;

        public int getSpeedmin() {
            return speedmin;
        }

        public void setSpeedmin(int speedmin) {
            this.speedmin = speedmin;
        }

        public String getWho() {
            return who;
        }

        public void setWho(String who) {
            this.who = who;
        }

        public String getCarplate() {
            return carplate;
        }

        public void setCarplate(String carplate) {
            this.carplate = carplate;
        }

        public int getSpeed() {
            return speed;
        }

        public void setSpeed(int speed) {
            this.speed = speed;
        }

        public String getCarno() {
            return carno;
        }

        public void setCarno(String carno) {
            this.carno = carno;
        }

        public int getSpeedmax() {
            return speedmax;
        }

        public void setSpeedmax(int speedmax) {
            this.speedmax = speedmax;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public boolean isStop() {
            return stop;
        }

        public void setStop(boolean stop) {
            this.stop = stop;
        }

        public int get$max() {
            return $max;
        }

        public void set$max(int $max) {
            this.$max = $max;
        }

        public int get$min() {
            return $min;
        }

        public void set$min(int $min) {
            this.$min = $min;
        }
    }
}
